﻿using System.Linq;
using System.Web.Http;
using Disco.Core;

namespace Disco.Web.Api.Controllers
{
    public class VersionController : ApiController
    {
        private readonly VersionInfo _versionInfo = new VersionInfo();

        [HttpGet]
        public IQueryable<VersionData> Info()
        {
            return _versionInfo.VersionData.AsQueryable();
        }
    }
}
